package com.cynteka.cyfoman.ui;

/**
 * User: Sergey
 * Date: 26.07.11
 * Time: 20:03
 */
public class EditEvent implements IEvent {

    public static final String ID = "edit";

    private String entityName;
    private Object entityId;

    @Override
    public String getId() {
        return ID;
    }

    public EditEvent(String entityName, Object entityId) {
        this.entityName = entityName;
        this.entityId = entityId;
    }

    public String getEntityName() {
        return entityName;
    }

    public Object getEntityId() {
        return entityId;
    }
}
